{include="head.html"}
<script language="JavaScript" type="text/javascript"> 
<!-- 
// 说明：用 JavaScript 实现网页图片等比例缩放 
// 整理：http://www.CodeBit.cn 
 
function DrawImage(ImgD,FitWidth,FitHeight){ 
    var image=new Image(); 
    image.src=ImgD.src; 
    if(image.width>0 && image.height>0){ 
        if(image.width/image.height>= FitWidth/FitHeight){ 
            if(image.width>FitWidth){ 
                ImgD.width=FitWidth; 
                ImgD.height=(image.height*FitWidth)/image.width; 
            }else{ 
                ImgD.width=image.width; 
                ImgD.height=image.height; 
            } 
        } else{ 
            if(image.height>FitHeight){ 
                ImgD.height=FitHeight; 
                ImgD.width=(image.width*FitHeight)/image.height; 
            }else{ 
                ImgD.width=image.width; 
                ImgD.height=image.height; 
            } 
        } 
    } 
} 
//--> 
</script>

<body>
<div align="center">
<table width="983" border="0" align="center" cellpadding="0" cellspacing="0">
  
  <tr>
    <td height="200"><img src="flash/product.jpg" width="983" height="200"></td>
  </tr>
  <tr>
    <td height="4"></td>
  </tr>
  <tr>
    <td><img src="flash/bannerbg.jpg" width="982" height="28" /></td>
  </tr>
</table>
<table width="983" height="300" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="42" background="images/left.jpg" valign="top"><table width="200" height="32" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="20" class="font13">&nbsp;</td>
            <td width="180" class="font13">{$type['classname']}</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td>
	{loop table="classtype" pid="$type["tid"]" mshow="1" not="1" as="t"}
      <table width="160" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="17"><img src="images/point.jpg" width="3" height="5"></td>
        <td width="143"><div align="left"><a href="{$t['url']}"{if($type['tid']==$t['tid'])} class="c"{/if}>{$t['classname']} </a></div></td>
      </tr>
    </table>
	<table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/line.jpg" width="160" height="10"></td>
      </tr>
    </table>
      {/loop}
	
	 
	   
	</td>
      </tr>
    </table></td>
    <td width="33">&nbsp;</td>
    <td width="750" valign="top"><table width="750" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="42" background="images/title.jpg" valign="top"><table width="750" height="32" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="29">&nbsp;</td>
            <td width="471" class="font14">{$type['classname']}</td>
			
            <td width="250"><div align="right">{$positions}</div></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td ><table width="500" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td align="center">
                              <table width="700" height="240" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="300" valign="top"><div align="left"><a href="{$photos[0][0]}" rel="lightbox"   target="_blank">
								  <?php $photos=fileall($product['photo']); ?><img src="{$photos[0][0]}" title="{$photos[0][1]}" width="250" height="250"  border="0"  onload="javascript:DrawImage(this,250,250);"  onerror="this.src='images/loading.gif'" />
								  </a></div></td>
                                  <td width="420" valign="top"><table width="400" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td colspan="2"><span class="font15">{$product['title']}</span></td>
                                    </tr>
                                    <tr>
                                      <td height="50" colspan="2"></td>
                                    </tr>
                                    <tr>
                                      <td height="110" colspan="2" class="font12">{$product['description']}</td>
                                    </tr>
                                    <tr>
                                      <td height="30">&nbsp;</td>
                                      <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                      <td width="153"><a href="{$photos[0][0]}" rel="lightbox"   target="_blank"><img src="images/back1.jpg" width="120" height="37" border="0"></a></td>
                                      <td width="247"><a href="#" ><img src="images/back.jpg" width="120" height="37" border="0"></a></td>
                                    </tr>
                                    
                                  </table></td>
                                </tr>
                            </table>
                              <table width="600" height="30" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td>&nbsp;</td>
                                </tr>
                              </table></td>
                          
                        </tr>
                        <tr>
                          <td height="53" valign="top" class="h2"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="48" valign="top" background="images/cpbg.jpg"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
			 <td width="114" valign="bottom" style="position:relative"><img src="images/cp01m.jpg" name="cp01" id="cp01" style="position:relative; top:1px;" onMouseOver="mOver('cp01')" /></td>
			 <!--
              <td width="114" valign="bottom" style="position:relative"><img src="images/cp02.jpg" name="cp02" id="cp02" style="position:relative; top:1px;" onMouseOver="mOver('cp02')" /></td>
              <td width="114" valign="bottom" style="position:relative"><img src="images/cp03.jpg" name="cp03" id="cp03" style="position:relative; top:1px;"  onmouseover="mOver('cp03')" /></td>
			  <td width="114" valign="bottom" style="position:relative"><img src="images/cp04.jpg" name="cp03" id="cp04" style="position:relative; top:1px;"  onmouseover="mOver('cp04')" /></td>
             -->
              <td width="264" valign="bottom">&nbsp;</td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="174" background="images/index_r7_c2.jpg" valign="top">
		<table width="700" border="0" cellpadding="0" cellspacing="0" id="cp01_block" >
		 
              <tr>
                <td width="720" class="font12">{$product['body']}</td>
              </tr>
          </table>
           <table width="680" border="0" cellpadding="0" cellspacing="0" id="cp03_block" style="display:none">
		   <tr>
              <td height="12" class="font12"></td>
            </tr>
              <tr>
              </tr>
          </table>
		 
		  <table width="680" border="0" cellpadding="0" cellspacing="0" id="cp04_block" style="display:none">
		   <tr>
              <td height="12" class="font12"></td>
            </tr>
              <tr>
                <td class="font12"></td>
              </tr>
          </table>
		  </td>
      </tr>
      
    </table></td>
                        </tr>
            </table>
        <table width="564" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="564" height="62"><div align="center"><a href="javascript:window.print()">打印本页</a>&nbsp;&nbsp;-&nbsp;&nbsp;<a href="javascript:window.close()" >关闭此页</a></div></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>

  <script language="JavaScript" type="text/JavaScript">
var lastmOver = null;
function mOver(theTab) 
{
	if (lastmOver!=null)	{
		document.getElementById(lastmOver+"_block").style.display = "none";
		document.getElementById(lastmOver).src = "images/"+lastmOver+".jpg";
	}
	document.getElementById(theTab+"_block").style.display = "block";
	document.getElementById(theTab).src = "images/"+theTab+"m.jpg";
	lastmOver = theTab ;
} 
mOver('cp01');
</script>

{include="bottom.html"}